package com.tensquare.base.dao;

import com.tensquare.entity.PageResult;
import com.tensquare.base.pojo.Label;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 标签数据访问层接口
 * extends JpaRepository<Label, String>, JpaSpecificationExecutor<Label>
 */

@Mapper
public interface LabelDao  {

    public List<Label> findAll(PageResult pageResult);

    public Label findById( String id);

    public void add(Label label);

    public void update(Label label);

    public void delete(String id);
}
